Optimal. Leaf size=56 \[ \frac {2 \sqrt {c} \tan ^{-1}\left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{\sqrt {b^2-4 a c} e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {702, 211}
\begin {gather*} \frac {2 \sqrt {c} \text {ArcTan}\left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{e \sqrt {b^2-4 a c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 702
Rubi steps
\begin {align*} \int \frac {1}{\left (\frac {b e}{2 c}+e x\right ) \sqrt {a+b x+c x^2}} \, dx &=(4 c) \text {Subst}\left (\int \frac {1}{b^2 e-4 a c e+4 c e x^2} \, dx,x,\sqrt {a+b x+c x^2}\right )\\ &=\frac {2 \sqrt {c} \tan ^{-1}\left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{\sqrt {b^2-4 a c} e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.25, size = 62, normalized size = 1.11 \begin {gather*} -\frac {4 \sqrt {c} \tan ^{-1}\left (\frac {b+2 c x-2 \sqrt {c} \sqrt {a+x (b+c x)}}{\sqrt {b^2-4 a c}}\right )}{\sqrt {b^2-4 a c} e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(97\) vs.
\(2(46)=92\).
time = 0.84, size = 98, normalized size = 1.75
method | result | size |
default | \(-\frac {2 \ln \left (\frac {\frac {4 a c -b^{2}}{2 c}+\frac {\sqrt {\frac {4 a c -b^{2}}{c}}\, \sqrt {4 \left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{c}}}{2}}{x +\frac {b}{2 c}}\right )}{e \sqrt {\frac {4 a c -b^{2}}{c}}}\) | \(98\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.05, size = 173, normalized size = 3.09 \begin {gather*} \left [\sqrt {-\frac {c}{b^{2} - 4 \, a c}} e^{\left (-1\right )} \log \left (-\frac {4 \, c^{2} x^{2} + 4 \, b c x - b^{2} + 8 \, a c + 4 \, \sqrt {c x^{2} + b x + a} {\left (b^{2} - 4 \, a c\right )} \sqrt {-\frac {c}{b^{2} - 4 \, a c}}}{4 \, c^{2} x^{2} + 4 \, b c x + b^{2}}\right ), 2 \, \sqrt {\frac {c}{b^{2} - 4 \, a c}} \arctan \left (-\frac {\sqrt {c x^{2} + b x + a} {\left (b^{2} - 4 \, a c\right )} \sqrt {\frac {c}{b^{2} - 4 \, a c}}}{2 \, {\left (c^{2} x^{2} + b c x + a c\right )}}\right ) e^{\left (-1\right )}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {2 c \int \frac {1}{b \sqrt {a + b x + c x^{2}} + 2 c x \sqrt {a + b x + c x^{2}}}\, dx}{e} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.91, size = 65, normalized size = 1.16 \begin {gather*} \frac {4 \, c \arctan \left (-\frac {2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} c + b \sqrt {c}}{\sqrt {b^{2} c - 4 \, a c^{2}}}\right ) e^{\left (-1\right )}}{\sqrt {b^{2} c - 4 \, a c^{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\left (e\,x+\frac {b\,e}{2\,c}\right )\,\sqrt {c\,x^2+b\,x+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________